@font-face {
  font-family: Bruno Ace;
  src: url(BrunoAce-Regular.ttf);
}
*{
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
}


.nav-bar{
  display: flex;
  justify-content: space-between;
  width: auto;
  height: 100px;
  background-color: #03212d;

  padding: 20px 40px;
  align-items: center;
  flex-direction: row;
  
  
}

.company-name{
  color: #fff;
  font-family: Bruno Ace;
  font-weight: bolder;
  font-size: 47px;
  
  
}

.company-name span{
  display: block;
  font-size: 12px;
  line-height: 18px;
  font-weight: normal;
  font-family: bruno Ace;
  

}

.main-menu{
  display: flex;
  flex-direction: row;
  font-family: Recursive;
  width: 800px;
  font-size: 24px;
  
  justify-content: space-around;
}

.main-menu a{
  color: #fff;
  transition: 0.3s;
  font-weight: bold;
  font-size: 24px;
  position: relative;
  padding: 10px 20px;
 
}


.main-menu a:hover{
  color: #0ef;
}

.main-menu a span{
  position: absolute;
  top: 10%;
  bottom: 0;
  left: -2.5%;
  width: 100%;
  height: 100%;
  
  border-bottom: 2px solid #0ef;
  border-radius: 15px;
  transform: scale(0) translateY(50px);
  opacity: 0;
  transition: .5s;
}

.main-menu a:hover span{
  transform: scale(1) translateY(0);
  opacity: 1;
}

 /* Submenu styles */
 .menu-item {
  position: relative;
  display: inline-block;
}

.submenu {
  display: none;
  position: absolute;
  background-color: #03212d;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 20;
  border-radius: 5px;
  padding: 10px 0;
  top: 100%;
  left: 0;
}

.menu-item:hover .submenu {
  display: block;
}

.submenu a {
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 18px !important;
  transition: 0.3s;
}

.submenu a:hover {
  color: #0ef;
  background-color: rgba(0,0,0,0.1);
}

.menu-item > a::after {
  content: " ▼";
  font-size: 12px;
  vertical-align: middle;
}

/* Mobile submenu styles */
@media (max-width: 720px) {
  .submenu {
    position: static;
    background-color: rgba(0,0,0,0.2);
    box-shadow: none;
    width: 100%;
    padding: 5px 0;
    margin-top: 10px;
    display: none;
  }
  
  .submenu.open {
    display: block;
  }
  
  .menu-item {
    width: 100%;
    text-align: center;
  }
  
  .menu-toggle {
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
  }
}

/* index Main Page */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
  
}



.hero-page{
  background-color: #03212d;
  width: 100%;
  display: grid;
  min-height: 100vh;
  position: relative; 
  perspective: 1000px;
  transform-style: preserve-3d;
}


.hero-page-slogan{
  position:absolute;
  font-size: 60px;
  left: 3%;
  top: 40%;
  text-transform: uppercase;
  font-family: Recursive;
  letter-spacing: -2px;
  box-sizing: border-box; 
}

.hero-page-slogan h2{
  -webkit-box-reflect: below 1px linear-gradient(transparent,  #0008);
  line-height: 0.70em;
  font-size: 40px;
  outline: none;
  color: #fff;
  text-shadow: 0 0px #03bcf4, 
  0 0 10px #03bcf4, 
  0 0 10px #03bcf4, 
  0 0 10px #03bcf4, 
  0 0 10px #03bcf4 ;
  margin-top: 10px;
} 



.txt-wrapper{
  position: relative;
  font-family: Recursive;
  color: white;
  display: inline-flex;
}
.static-txt{
  font-size: 40px;
  
}

.dynamic-txt{
  
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  position: relative;
  margin-left: 15px;

}

@keyframes slide{
  100%{
    top: -188px;
  }

}

.dynamic-txt li{

  top: -5px;
  list-style: none;
  font-size: 40px;
  color: #fff;
  text-shadow: 0 0px #03bcf4, 
  0 0 10px #03bcf4, 
  0 0 10px #03bcf4, 
  0 0 10px #03bcf4, 
  0 0 10px #03bcf4 ;
  position: relative;
  animation: slide 9s steps(3) infinite;
  
  

}

.dynamic-txt li::after{
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  border-left: 2px white solid;
  background-color: #03212d;
  left: 0;
  animation: typing 3s infinite steps(8);
}

@keyframes typing{
 40%, 60%{
    left: calc(100% + 30px) ;
  }
  100%{
    left: 0;
  }
}

.wrapper{
  
  transform: 1000px;
  position: absolute;
  right: 20%;
  top: 30%  ;
}

.cube{
  position: relative;
  transform-style: preserve-3d;
  width: 200px;
  height: 200px;
  animation: round 15s ease infinite;
}

@keyframes round{
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  100%{
    transform: rotateY(360deg) rotateX(360deg);
  }
}

.c-side{
  position: absolute;
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  background-color: #01b4f9;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 0 200px #01b4f9,  0 0 20px #01b4f9, 0 0 30px #01b4f9  ;
}

.fs img{
  width: 100%;
}
.ls img{
  width: 100%;
}
.bs img{
  width: 100%;
}
.rs img{
  width: 100%;
}
.us img{
  width: 100%;
}
.ds img{
  width: 100%;
}





.fs{
  transform: translateZ(100px);
  
  
}
.bs{
  transform: rotateY(180deg) translateZ(100px) ;
}
.ls{
  transform: rotateY(90deg) translateZ(100px) ;
}
.rs{
  transform: rotateY(-90deg) translateZ(100px) ;
}
.us{
  transform: rotateX(90deg) translateZ(100px) ;
}
.ds{
  transform: rotateX(-90deg) translateZ(100px) ;    
}

#select{
  display: none;
  color: #fff;
}

@media (max-width: 1024px) {
  .hero-page-slogan{
    top: 10%;
    font-size: 30px;
    left: 15%;
    margin: 20px;
    
  }
  .wrapper{
    top: 58%;
    left: 50%;
    transform: translate(-50%) ;
    margin: 10px;
  }
  .hero-page{
    height: 120vh;
  }
  .company-name{
    font-size: 35px;
  }
  .company-name span{
    font-size: 8.7px;
  }
 
  
 
}

@media (max-width: 768px) {
  .hero-page-slogan{
    font-size: 26px;
    left: 10%;
    top: 10%;
  }
  .hero-page-slogan h2{
    margin-top: 0;
  }
  .txt-wrapper{
    margin: 10px;

  }
  .company-name{
    font-size: 30px;
    width: 200px;
  }
  .company-name span{
    font-size: 8px;
  }
  .main-menu a{
    padding: 10px;
    font-size: 20px;
    
  }
  .main-menu{
    width: auto;
    flex-shrink: 0;
   
    
  }
  .nav-bar{
    padding: 10px 20px;
    justify-content: space-between;
  }
 
}

@media (max-width: 720px) {

   .nav-list a{
    font-size: 35px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
   }

  .nav-list{
   
    flex-direction: column;
    gap: 20px;
    
   
    position: absolute;
    top: 15%;
    display: none;
    z-index: 10;
    background-color: #03212d;
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
    height: 85vh;
    width: 100%;
    
    box-sizing: border-box;

    align-items:  center;
    justify-content: center;
    
  }

  #select{
    display: block;
    transition: 0s 1s ;
    font-size: 34px;
    
  }
  
  .open {
    right: 0%;
    display: flex;
    transition: 0s 0.1s ease-in-out ;

  }

  

  @keyframes small-slide{
    100%{
      top: -185px;
    }
  
  }
  
  .dynamic-txt li{
  
    top: -6.5px;
    list-style: none;
    font-size: 35px;
    color: #fff;
    text-shadow: 0 0px #03bcf4, 
    0 0 10px #03bcf4, 
    0 0 10px #03bcf4, 
    0 0 10px #03bcf4, 
    0 0 10px #03bcf4 ;
    position: relative;
    animation: small-slide 9s steps(3) infinite;
  }

  .hero-page-slogan h2{
    font-size: 35px;
  }

}

@media (max-width: 450px) {

  .company-name{
    margin-left: 10px;
  }
  #select{
    margin-right: 10px;
  }
  .hero-page-slogan h2{
    font-size: 20px;
    word-spacing: 5px;
  }
  .txt-wrapper{
    margin: 0;
  }
  .nav-bar{
    padding: 0;
    
  }

  .static-txt{
    font-size: 20px;
   align-items: center;
   display: flex;
   justify-content: center;
  }

  
  
   
  @keyframes small-slide{
    100%{
      top: -179px;
    }
  
  }

  .dynamic-txt{
    margin-left: 5px;
  }
  
  .dynamic-txt li{
    font-size: 20px;
    top: 1%; 

    
  }
  .dynamic-txt li::after{  
    display: none;
    width: 110%;
  }
  .wrapper{
    top: 60%;
    left: 50%;
    transform: translate(-100%) ;
    margin: 10px;
  }
  
}

@media (max-width: 400px) {

  .hero-page-slogan h2{
    font-size: 18px;
  }
  
  .cube, .c-side{
    width: 150px;
    height: 150px;
  }

  .fs{
    transform: translateZ(75px);

  }
  .bs{
    transform: rotateY(180deg) translateZ(75px) ;
  }
  .ls{
    transform: rotateY(90deg) translateZ(75px) ;
  }
  .rs{
    transform: rotateY(-90deg) translateZ(75px) ;
  }
  .us{
    transform: rotateX(90deg) translateZ(75px) ;
  }
  .ds{
    transform: rotateX(-90deg) translateZ(75px) ;    
  }
}

@media (max-width: 321px) {
  .hero-page-slogan h2, .dynamic-txt li, .static-txt{
    font-size: 16px;
    
    
}
.static-txt, .dynamic-txt{
  letter-spacing: 1px;
}
.hero-page-slogan h2{
  letter-spacing: 0.5px;
}
  .hero-page-slogan{
    text-align: center;
    margin: 5px;
    left: 0;
    
  }
}
